	.data
str:	.asciiz	"Bir sayi girin: "
sayi:	.word
tmp:	.word
bit:	.word	32

	.text
__start:puts	str
	get	sayi
while:	beqz	bit, endwhile
	rem	tmp, sayi, 2
	div	sayi, sayi, 2
	sub	bit, bit, 1
	put	tmp

	b	while
endwhile:done
